package j03;

import java.util.Scanner;

public class J03_CatchNumber {

	public static void main(String[] args) {
		Scanner sc = null;
		sc = new Scanner(System.in);
		int num1 = 0, num2 = 77;
		System.out.println("숫자를 입력하시오.");
		num1 = sc.nextInt();
		if (num1 > num2) {
			System.out.println("추측한 숫자가 큽니다.");

		}

		else if (num1 < num2) {
			System.out.println("추측한 숫자가 작습니다.");
		} else {
			System.out.println("빙고! 숫자를 맞췄습니다.");
		}
	sc.close();
	}

}
